<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="修改临牌仓库" bodyClass="white-bg" libs=["prism","bootstrapSelect","ueditor"]/>
<div class="wrapper wrapper-content ibox-content">
    <@form.form id="form-temptagwarehouse-edit"  class="form-horizontal">
    <input name="id" value="${bpmCrmTemptagwarehouse.id}" type="hidden">
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "车牌号码" />：
       </label>
        <div class="col-sm-8"><input name="carNumber" value="${bpmCrmTemptagwarehouse.carNumber?default("")}" class="form-control" type="text" required>
        </div>
     </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "有效期开始时间"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control time-input" name="validateStartTime"  data-type="date"   value="${(bpmCrmTemptagwarehouse.validateStartTime?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text" required/>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "有效期结束时间"/>：</label>
        <div class="col-sm-8">
            <div class="input-group date">
                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                <input class="form-control time-input" name="validateEndTime"  data-type="date"   value="${(bpmCrmTemptagwarehouse.validateEndTime?string('yyyy-MM-dd'))!}" data-format="yyyy-MM-dd" type="text" required/>
            </div>
        </div>
    </div>
</@form.form>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "bpm/temptagwarehouse";
    $("#form-temptagwarehouse-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/edit", $('#form-temptagwarehouse-edit').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>
